<template>
  <el-config-provider :locale="message[locale]" namespace="el">
    <router-view />
  </el-config-provider>
</template>

<script setup lang="ts">
import { useAppStore } from '@/stores'
import { message } from '@/locales'
import dayjs from 'dayjs'
const appStore = useAppStore()
dayjs.en.weekStart = 1
const locale = computed(() => appStore.language)
</script>

<style></style>
